package daos.restaurant;

import java.sql.SQLException;
import java.util.List;

import model.entities.Restaurant;

public interface RestaurantAppDAO {

    public void insert(Restaurant restaurant) throws SQLException;

    public void delete(Restaurant restaurant) throws SQLException;

    public void update(Restaurant restaurant) throws SQLException;

    public List<Restaurant> selectAll() throws SQLException;
    
    public List<Restaurant> selectByName(Restaurant restaurant) throws SQLException;

    public boolean exist(Restaurant restaurant) throws SQLException;
}